/**
 * Created by one on 16-3-8.
 */
module.exports = {
    URL_PROXY_ADMIN: "WEBPACK_Config_URL_PROXY_ADMIN",
    URL_PROXY_BUSINESS: "WEBPACK_Config_URL_PROXY_BUSINESS",
    MAIN_CDNHOST:"{{CDN}}",
    MAIN_HOST: "{{MAIN_HOST}}",
    MAIN_AJAXHOST: "{{MAIN_AJAXHOST}}",
    DFS_URL: "WEBPACK_Config_DFS_URL",
    DOWNLOAD_URL: "http://ichuanyi.com/get/?f=web",
    LOCALDEV: {
        URL_PROXY_ADMIN: "",
        URL_PROXY_BUSINESS: "",
        MAIN_HOST:"http://local.test.com:8090/",
        MAIN_CDNHOST:"http://local.test.com:8090/build/media/",
        MAIN_AJAXHOST:"http://local.test.com:8090/blueSky/"
//        MAIN_HOST: "../../media/"
//        MAIN_HOST: "http://localbusiness.yourdream.cc:8010/"
    },
    LOCAL: {
        URL_PROXY_ADMIN: "api-test-admin",
        URL_PROXY_BUSINESS: "api-test-business",
        MAIN_HOST:"http://local.test.com:8090/",
        MAIN_CDNHOST:"http://local.test.com:8090/build/media/",
        MAIN_AJAXHOST:"http://local.test.com:8090/blueSky/"
//        MAIN_HOST: "../../media/"
//        MAIN_HOST: "http://localbusiness.yourdream.cc:8010/"
    },
    APITESTPARAMS : {
        URL_PROXY_ADMIN: "api-test-admin",
        URL_PROXY_BUSINESS: "api-test-business",
        MAIN_HOST: "http://apitest.yourdream.cc/"
//        DFS_URL: "WEBPACK_Config_DFS_URL",
//        DOWNLOAD_URL: "http://ichuanyi.com/get/?f=web"
    },
    OUTTESTPARAMS: {
        URL_PROXY_ADMIN: "outer-test-admin",
        URL_PROXY_BUSINESS: "outer-test-business",
        MAIN_HOST: "http://outertest.yourdream.cc/"
    },
    RELEASEPARAMS: {
        URL_PROXY_ADMIN: "admin.php",
        URL_PROXY_BUSINESS: "business.php",
        MAIN_HOST: "http://ichuanyi.com/"
    },
    webpackConfig: {
//        entry: {
//            "entry": file
//        },
        output: {
            filename: '[name]-min.js'
        },
        module: {
            loaders: [
                // 使�??Babel�????ES6�???????node_modules???�?�????js
                {test: /\.less$/, loader: 'style-loader!css-loader!less-loader'}, // use ! to chain loaders
                {test: /\.css$/, loader: 'style-loader!css-loader'},
                {test: /\.(png|jpg|gif)$/, loader: 'url-loader'},
                {test: /\.(html|tpl)$/, loader: 'html-loader'}
            ]
        },
        resolve: {
            extensions: ['', '.js', '.jsx']
        }

    }

}
